//
//  UITextField+Config.h
//  Fangxiaov
//
//  Created by safiri on 2017/3/23.
//  Copyright © 2017年 com.f. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextField (Config)

- (void)configPlaceholderWithText:(nonnull NSString *)text AttrColor:(nonnull UIColor *)attrColor AttrFont:(nonnull UIFont *)attrFont;

/**
 Set all text selected.
 */
- (void)selectAllText;

/**
 Set text in range selected.
 
 @param range  The range of selected text in a document.
 */
- (void)setSelectedRange:(NSRange)range;

@end
